//
//  XYBottomView.h
//  TheDragon
//
//  Created by wingfac on 2017/8/2.
//  Copyright © 2017年 LJ. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol XYBottomViewDelegate <NSObject>

-(void)bottomButtonClick:(NSInteger)index;               // 知识学习点击按钮位置

@end
@interface XYBottomView : UIView

@property (nonatomic,weak)id<XYBottomViewDelegate>delegate;

@property (nonatomic,assign) BOOL isCollect;

@property(nonatomic,strong) NSMutableArray *dataArray; //数据源
- (void)reload:(int) collectState;
@end
